import request from "@/utils/request";

export function getAbout(currentPage, pageSize) {
  return request.get(`/users/${currentPage}/${pageSize}`);
}

export function editAbout(data) {
  return request({
    url: "/users",
    method: "put",
    data,
  });
}
export function searchAbout(currentPage, pageSize,data) {
  return request({
    url: `/users/query/${currentPage}/${pageSize}`,
    method: "post",
    data,
  });
}
